package com.p2p.account.po;

import com.p2p.common.base.BaseModel;

public class Account extends BaseModel {

    private Long agentId;

    private String name;

    private String code;

    private Integer hardware;

    private String coinId;

    private String coinName;

    private Integer isOnlyLog;

    private String connectPool;

    private String port;

    private Integer isDefault;

    private Integer isTest;

    private Integer isEffective;


    private Integer isNeedRestart;

    public Long getAgentId() {
        return agentId;
    }

    public void setAgentId(Long agentId) {
        this.agentId = agentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    public Integer getHardware() {
        return hardware;
    }

    public void setHardware(Integer hardware) {
        this.hardware = hardware;
    }

  

    public String getCoinId() {
		return coinId;
	}

	public void setCoinId(String coinId) {
		this.coinId = coinId;
	}

	public String getCoinName() {
        return coinName;
    }

    public void setCoinName(String coinName) {
        this.coinName = coinName == null ? null : coinName.trim();
    }

    public Integer getIsOnlyLog() {
        return isOnlyLog;
    }

    public void setIsOnlyLog(Integer isOnlyLog) {
        this.isOnlyLog = isOnlyLog;
    }

    public String getConnectPool() {
        return connectPool;
    }

    public void setConnectPool(String connectPool) {
        this.connectPool = connectPool == null ? null : connectPool.trim();
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port == null ? null : port.trim();
    }

    public Integer getIsDefault() {
        return isDefault;
    }

    public void setIsDefault(Integer isDefault) {
        this.isDefault = isDefault;
    }

    public Integer getIsTest() {
        return isTest;
    }

    public void setIsTest(Integer isTest) {
        this.isTest = isTest;
    }

    public Integer getIsEffective() {
        return isEffective;
    }

    public void setIsEffective(Integer isEffective) {
        this.isEffective = isEffective;
    }

    public Integer getIsNeedRestart() {
        return isNeedRestart;
    }

    public void setIsNeedRestart(Integer isNeedRestart) {
        this.isNeedRestart = isNeedRestart;
    }
}